<template>
  <div class='catchMessage'>
    <com-header
      right-icon='icon'>
      <div class="titleText textColor" slot='title'>Notifications</div>
    </com-header>
    <div class="contents">
      <div class="messageList">
        <div class="left"></div>
        <div class="center">
          <div class="tagName">messageList · <span>11/12/2341</span></div>
          <div class="notifi">commentedcommentedcommentedcommented on your raindrop Foodcommented on your raindrop
            Food.
          </div>
          <div class="otherMessage">so yummy</div>
        </div>
        <div class="right"></div>
      </div>
    </div>
  </div>

</template>

<script>
  import ComHeader from '../../components/common/Header'
  import api from '../../plugins/api'
  import { Toast } from 'mint-ui'
  import md5 from 'js-md5'

  const Cookie = process.browser ? require('js-cookie') : undefined
  export default {
    layout: 'other',
    asyncData(process) {
      return {
        }
    },
    components: { ComHeader },
    data() {
      return {
        isLayout: 'raindrop',
        isnotifications: false
      }
    },
    created() {
      // console.log(this.name)
    },
    head: {
      title: 'message page'
    },
    methods: {}
  }
</script>
<style scoped lang="scss">
  .catchMessage {
    height: 100%;
    width: 100%;

    .contents {
      width: 100%;

      .messageList {
        width: 100%;
        height: 208px;
        padding: 32px;
        display: flex;
        justify-content: space-between;

        .left {
          width: 80px;
          height: 80px;
          background: #D8D8D8 url("") no-repeat center;
          -webkit-background-size: cover;
          background-size: cover;
          border-radius: 50%;
        }

        .center {
          max-width: 460px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          color: #333333;

          .tagName {
            font-size: 30px;
            span {
              font-size: 24px;
              color: #999999;
            }
          }

          .notifi {
            width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            color: #999999;
            font-size: 28px;
          }

          .otherMessage {
            font-size: 34px;
          }
        }

        .right {
          width: 80px;
          height: 80px;
          background: #D8D8D8 url("") no-repeat center;
          -webkit-background-size: cover;
          background-size: cover;
          border-radius: 24px 200px 200px 200px;
        }
      }
    }

  }
</style>

